#ifndef NAV_VIEW_H
#define NAV_VIEW_H

#include <list>

#include <view.h>
#include <types.h>
#include <config.h>

#include <msg/msg.h>

using namespace std;
class nav_view:public view{
public :/*
 	int top;
        int left;
        int right;
        int bottom;
        bool enable;*/

	bool visiable;

	#ifdef COLOR32
	list<unsigned int> backbits;
	#else
	list<unsigned short> backbits;
	#endif

	//int key_down_proc(enum SYSTEM_MSG m);
	int key_down_proc(msg *m);
	int show();
	int hide();

	nav_view();
	nav_view(int a,int b,int w,int h,bool e);
	~nav_view();

	int init(int a,int b,int w,int h,bool e);



};
#endif
